.class Lcom/estrongs/android/pop/app/PopAudioPlayer$l;
.super Lcom/estrongs/android/ui/base/ActionModeCallback;
.source "PopAudioPlayer.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/PopAudioPlayer;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private c:Landroid/widget/TextView;

.field private d:Z

.field final synthetic e:Lcom/estrongs/android/pop/app/PopAudioPlayer;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/PopAudioPlayer;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-direct {p0}, Lcom/estrongs/android/ui/base/ActionModeCallback;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->d:Z

    return p0
.end method


# virtual methods
.method public a()Landroid/content/Context;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    return-object v0
.end method

.method public c()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public onActionItemClicked(Landroidx/appcompat/view/ActionMode;Landroid/view/MenuItem;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public onCreateActionMode(Landroidx/appcompat/view/ActionMode;Landroid/view/Menu;)Z
    .locals 3

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p2, p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;Landroidx/appcompat/view/ActionMode;)Landroidx/appcompat/view/ActionMode;

    .line 2
    new-instance p2, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$a;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-direct {p2, p0, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$a;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;Landroid/content/Context;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c02cc

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    invoke-direct {v1, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 4
    invoke-virtual {p1, p2}, Landroidx/appcompat/view/ActionMode;->setCustomView(Landroid/view/View;)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    const v0, 0x7f090a58

    invoke-virtual {p2, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;Landroid/widget/TextView;)Landroid/widget/TextView;

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->D(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Landroid/widget/TextView;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    const p1, 0x7f090bcf

    .line 7
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 8
    new-instance v1, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$b;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;)V

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f090910

    .line 9
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    .line 10
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f08097a

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->g(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const p1, 0x7f090bce

    .line 11
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->c:Landroid/widget/TextView;

    const p1, 0x7f090bcd

    .line 12
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 13
    new-instance v1, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$c;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;)V

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f09090f

    .line 14
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    .line 15
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f080984

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->g(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const p1, 0x7f090bd3

    .line 16
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 17
    new-instance v1, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$d;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;)V

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    const v1, 0x7f090911

    invoke-virtual {p2, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    invoke-static {p1, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;Landroid/widget/ImageView;)Landroid/widget/ImageView;

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->E(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f08097d

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->g(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 20
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->E(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setEnabled(Z)V

    const p1, 0x7f090bd1

    .line 21
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 22
    new-instance v0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$e;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f090bd8

    .line 23
    invoke-virtual {p2, p1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 24
    new-instance p2, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$f;

    invoke-direct {p2, p0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$l$f;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$l;)V

    invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 p1, 0x1

    return p1
.end method

.method public onDestroyActionMode(Landroidx/appcompat/view/ActionMode;)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;Landroidx/appcompat/view/ActionMode;)Landroidx/appcompat/view/ActionMode;

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->N()V

    return-void
.end method

.method public onPrepareActionMode(Landroidx/appcompat/view/ActionMode;Landroid/view/Menu;)Z
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->D(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Landroid/widget/TextView;

    move-result-object p1

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->w(Lcom/estrongs/android/pop/app/PopAudioPlayer;)I

    move-result v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, "/"

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->A(Lcom/estrongs/android/pop/app/PopAudioPlayer;)I

    move-result v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->w(Lcom/estrongs/android/pop/app/PopAudioPlayer;)I

    move-result p1

    const/4 p2, 0x0

    const/4 v0, 0x1

    if-le p1, v0, :cond_0

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->E(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setEnabled(Z)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->E(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setEnabled(Z)V

    .line 5
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->w(Lcom/estrongs/android/pop/app/PopAudioPlayer;)I

    move-result p1

    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->e:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->A(Lcom/estrongs/android/pop/app/PopAudioPlayer;)I

    move-result v1

    if-ge p1, v1, :cond_1

    const/4 p2, 0x1

    :cond_1
    iput-boolean p2, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->d:Z

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$l;->c:Landroid/widget/TextView;

    if-eqz p2, :cond_2

    const p2, 0x7f11006b

    goto :goto_1

    :cond_2
    const p2, 0x7f11006e

    :goto_1
    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(I)V

    return v0
.end method
